package com.joinlabs.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class WeiboUser {
	private Long weiboId;
	
	private String weiboContent;
	
	private Date weiboTime;
	
	private String userName;
	
	private String weiboJurisdiction;
	
	private String weiboSource;

    private Short weiboOriginal;

	public WeiboUser() {
		super();
	}

	public Long getWeiboId() {
		return weiboId;
	}

	public void setWeiboId(Long weiboId) {
		this.weiboId = weiboId;
	}

	public String getWeiboContent() {
		return weiboContent;
	}

	public void setWeiboContent(String weiboContent) {
		this.weiboContent = weiboContent;
	}

	public Date getWeiboTime() {
		return weiboTime;
	}

	public void setWeiboTime(Date weiboTime) {
		this.weiboTime = weiboTime;
	}
	
	private SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
	public String getWeiboTimeStr() {		
		return sdf.format(getWeiboTime());	
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getWeiboJurisdiction() {
		return weiboJurisdiction;
	}

	public void setWeiboJurisdiction(String weiboJurisdiction) {
		this.weiboJurisdiction = weiboJurisdiction;
	}

	public String getWeiboSource() {
		return weiboSource;
	}

	public void setWeiboSource(String weiboSource) {
		this.weiboSource = weiboSource;
	}

	public Short getWeiboOriginal() {
		return weiboOriginal;
	}

	public void setWeiboOriginal(Short weiboOriginal) {
		this.weiboOriginal = weiboOriginal;
	}

	@Override
	public String toString() {
		return "WeiboUser [weiboId=" + weiboId + ", weiboContent=" + weiboContent + ", weiboTime=" + weiboTime
				+ ", userName=" + userName + ", weiboJurisdiction=" + weiboJurisdiction + ", weiboSource=" + weiboSource
				+ ", weiboOriginal=" + weiboOriginal + ", sdf=" + sdf + "]";
	}

	
	
	
}
